Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Feb 4, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/17069

🧭 풀이 시간

60분

👀 체감 난이도

✏️ 문제 설명

파이프를 밀 수 있는 방향은 총 3가지가 있으며, →, ↘, ↓ 방향이다. 파이프는 밀면서 회전시킬 수 있다. 회전은 45도만 회전시킬 수 있으며, 미는 방향은 오른쪽, 아래, 또는 오른쪽 아래 대각선 방향이어야 한다.
파이프가 가로로 놓여진 경우에 가능한 이동 방법은 총 2가지, 세로로 놓여진 경우에는 2가지, 대각선 방향으로 놓여진 경우에는 3가지가 있다. (링크 사진 참조)

🔍 풀이 방법

dp로 매 회 가능한 경로에 대해 직관적으로 구했음.

⏳ 회고

dp는 머리쓰는게 힘들어

@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Feb 4, 2025
@lkhyun lkhyun self-assigned this Feb 4, 2025
@ShinHeeEul ShinHeeEul merged commit ac1db79 into main Feb 4, 2025
1 check passed
Comment on lines +24 to +28
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 부분은 왜 필요한건지 궁금해요

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants